package com.myway.dao;

import com.myway.pojo.FlyOrderPayment;
import com.myway.pojo.FlyOrderPaymentKey;
import java.util.List;


public interface FlyOrderPaymentMapper {
    int deleteByPrimaryKey(FlyOrderPaymentKey key);

    int insert(FlyOrderPayment record);

    int insertSelective(FlyOrderPayment record);

    FlyOrderPayment selectByPrimaryKey(FlyOrderPaymentKey key);

    int updateByPrimaryKeySelective(FlyOrderPayment record);

    int updateByPrimaryKey(FlyOrderPayment record);

    /*根据订单id查询订单支付信息*/
    List<FlyOrderPayment> selectByOrderNo(String orderId);

    /*根据订单id判断是否有支付记录*/
    List<Integer> isPayRecords(String orderId);
}